#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QDebug>
#include <QWindow>
#include <qwindowdefs.h>
#include "openglwindiow.h"
#include "openglwidget.h"
#include "normalwidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWidget; }
QT_END_NAMESPACE

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    MainWidget(QWidget *parent = nullptr);
    ~MainWidget();

protected:
    void paintEvent(QPaintEvent *event);

private:
    Ui::MainWidget *ui;
    OpenGLWidget *glWidget;
    NormalWidget *norWidget;

    void showWindowDebug();

};
#endif // MAINWIDGET_H
